package com.xiaocg.command;

public class CommandTest {
    public static void main(String[] args) {
        System.out.println("======");
        OrderInfo info = new OrderInfo();
        info.setNumber(1);
        info.setFoods("面",3);
        info.setFoods("饮料",3);

        Chef chef = new Chef();

        CommandDemo demo = new OrderCommand(chef,info);
        Waiter waiter = new Waiter();
        waiter.setCommandDemos(demo);

        waiter.orderUp();

    }
}
